package com.un.ebs.businessObject.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.un.ebs.sys.domain.DataSource;


/**
 * @Author aikun
 * 服务类
 * @ClassName DataSourceService
 * @Description DataSourceService
 * @Date 2020/1/8
 */
public interface DataSourceService extends IService<DataSource> {

    void add(DataSource dataSource);

    void update(DataSource dataSource);

    DataSource getById(String id);

    void delete(String id);

    IPage<DataSource> list(Integer dbType, String userName, String name, int pageSize, int pageIndex);

}
